Composite Programs: Hierarchical Construction, Circularity, and Deadlocks

نویسنده

  • Waleed A. Muhanna
چکیده

This paper considers a graph-oriented, nonprocedural, development environment where new composite programs are constructed by coupling a collection of existing component programs, each of whose interface is defined by a fixed number of input ports and output ports. When the coupling graph is cyclic there is the possibility of a deadlock. The intent of this paper is to present a system that permits hierarchical construction of programs, while testing (via a simple algebraic procedure) the resulting composite programs for communication deadlocks. Specifically, the paper: 1) describes a decomposition-based approach to cycle enumeration; 2) presents a formal, graph-theoretic, model of communication behavior for a class of atomic programs. The model is then used to derive necessary and sufficient conditions for a deadlock to arise in a cycle; and 3) describes techniques for dealing with a special class of deadly cycles, once identified.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modeling of Unreinforced and Reinforced Pavement Composite Material Using HISS Model (RESEARCH NOTE)

With the advent of high strength geogrids, the interest of civil engineers in using geosynthetics as reinforcement material in pavement construction has increased. An experimental study is carried out at IIT Delhi to understand the effect of geogrid in unpaved roads. Behavior of composite material, which comprises of Yamuna sand as subgrade and Water Bound Macadam (WBM) as base course is studie...

متن کامل

An exercise in coinduction: Moessner’s theorem

We present a coinductive proof of Moessner’s theorem. This theorem describes the construction of the stream (1n, 2n, 3n, . . .) (for n ≥ 1) out of the stream of natural numbers by repeatedly dropping and summing elements. Our formalisation consists of a direct translation of the operational description of Moessner’s procedure into the equivalence of in essence two functional programs. Our proof...

متن کامل

Run-time Detection of Communication Deadlocks in Occam 2 Programs

A novel approach to detection of communication deadlocks in occam 2 programs is proposed. The main feature of the approach is to monitor the interprocess communications of a target occam 2 program at runtime and detect communication deadlocks in the program by operating a Process-Wait-For Graph (PWFG) of the program. The PWFG is a formal representation of the synchronization waiting situation i...

متن کامل

Garbled RAM Revisited, Part II

In EUROCRYPT 2013, Lu and Ostrovsky proposed the notion of Garbled RAM (GRAM) programs. These GRAM programs are analogous to the classic result of Yao’s garbled circuits: a large encrypted memory can first be provided to evaluator, and then a program can separately be garbled and sent to an evaluator to securely execute while learning nothing but the output of the program and its running time. ...

متن کامل

A Type System for Preventing Data Races and Deadlocks in the Java Virtual Machine Language

In previous work on SafeJava we presented a type system extension to the Java source language that statically prevents data races and deadlocks in multithreaded programs. SafeJava is expressive enough to support common programming patterns, its type checking is fast and scalable, and it requires little programming overhead. SafeJava thus offers a promising approach for making multithreaded prog...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IEEE Trans. Software Eng.

دوره 17  شماره 

صفحات  -

تاریخ انتشار 1991